import { Param } from "./types";

export const PyupgradeParamList: Param[] = [
    {
        name: "keep-runtime-typing",
        descEn: `Whether to avoid PEP 585 (List[int] -> list[int]) and PEP 604 (Optional[str] -> str | None) rewrites even if a file imports from __future__ import annotations. Note that this setting is only applicable when the target Python version is below 3.9 and 3.10 respectively, and enabling it is equivalent to disabling use-pep585-annotation (UP006) and use-pep604-annotation (UP007) entirely.`,
        descCn: "",
        defaultValue: false,
        url: "https://beta.ruff.rs/docs/settings/#keep-runtime-typing",
    },
];